//
//  NSArray+SafeKit.h
//  SafeKitExample
//
//  Created by zhangyu on 14-2-28.
//  Copyright (c) 2014年 zhangyu. All rights reserved.
//


#import <Foundation/Foundation.h>

@interface NSArray <ObjectType> (SafeKit)

- (ObjectType)hy_firstObject;
    
- (ObjectType)hy_lastObject;

- (ObjectType)hy_objectAtIndex:(NSUInteger)index;

@end

@interface NSMutableArray (HYAdd)

- (void)hy_addObject:(id)obj;

- (void)hy_addObjectFromArray:(NSArray *)array;

@end

